//
//  DEWPicView.m
//  OtherDemo
//
//  Created by kangbinbin on 2018/7/28.
//  Copyright © 2018年 lianjie. All rights reserved.
//

#import "DEWPicView.h"

@implementation DEWPicView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
   
      
    }
    return self;
}

-(void)layoutSubviews{
    [super layoutSubviews];
    UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 60, 60)];
    imageView.image = [UIImage imageNamed:@"圈子话题"];
    [self addSubview:imageView];
    self.imgView = imageView;
    
    UILabel *label = [[UILabel alloc]init];
    label.x = imageView.right + 10;
    label.width = self.width - 70;
    label.height = 40;
    label.centerY = imageView.centerY;
    label.text = @"前段时间，朋友圈里的设计师开始疯传这句话，嘲弄一些不懂设计的客户瞎指挥…";
    label.numberOfLines = 2;
    label.textColor = UIColorFromRGB(0x666666);
    label.font = [UIFont systemFontOfSize:12.f];
    [self addSubview:label];
    self.contentL = label;
}

@end
